package com.hsj.busmanager.mapper;

import com.hsj.busmanager.api.Cost;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CostMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Cost record);

    int insertSelective(Cost record);

    Cost selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Cost record);

    int updateByPrimaryKey(Cost record);

    List<Cost> getOtherCostPage(Integer start, int limit,@Param("cost") Cost cost,@Param("userId")Integer userId);

    int getOtherCostPageCount(@Param("cost")Cost cost,@Param("userId")Integer userId);
}